﻿namespace UsageTracker.Logger.SampleApp
{
    using System;
    using System.Threading;

    using UsageTracker.Logger;

    class Program
    {
        [UsageCapture("SAMPLE-APP", true, true)]
        static void Main(string[] args)
        {
            for (int i = 0; i < 1000; i++)
            {
                TestMethod(i);
            }
            Console.WriteLine("--DONE--");
            Console.ReadLine();
        }

        [UsageCapture("SAMPLE-APP", false, false)]
        static void TestMethod(int i)
        {
            Console.WriteLine("Sent Data " + i.ToString());
        }
    }
}
